// test_scripts/prepare_upgrade.js
async function main() {
    const proxyAddress = '0x03E2085ec3D9a2a370D488D9DAc7e46F6dF79a77';

    const LpTokenV2 = await ethers.getContractFactory("LpToken");
    const box = await upgrades.upgradeProxy(proxyAddress, LpTokenV2);
    console.log("LpToken upgraded address:", box.address);
}

main()
    .then(() => process.exit(0))
    .catch(error => {
        console.error(error);
        process.exit(1);
    });